
#ifndef __LINE_IR_H__
#define __LINE_IR_H__

typedef enum
{
    ALL_READ = 0,
    MIDDLELEFT_READ = 1,
    SPLIT_READ = 2,
    LEFT_READ = 3,
    MIDDLERIGHT_READ = 4,
    MIDDLE_READ = 5,
    RIGHT_READ = 6,
    NONE_READ = 7

    // These are the decimal values of reading the binary value from the three sensors.
    // 101 or 5 means the black line is under the middle sensor.
    // 110 or 6 means the black line is under the right sensor.
    // 001 or 1 means the black line is under both the the middle and left sensors.
}
LineReading;


extern void LineIRInit(void);
extern LineReading GetLineReading();
extern void CalibrateLineIR();


#endif

